package com.leemon.mall.security.token;

import lombok.Data;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.GrantedAuthority;

import java.util.Collection;

/**
 * @author limenglong
 * @create 2019-09-03 14:25
 * @desc 自定义
 **/
@Data
public class MyAuthenticationToken extends UsernamePasswordAuthenticationToken {

    private Boolean debugger;


    public MyAuthenticationToken(Object principal, Object credentials) {
        super(principal, credentials);
    }
}
